翻訳と辞書
Words near each other
・ Recursion (disambiguation)
・ Recursion (novel)
・ Recursion termination
・ Recursion theorem
・ Recursive acronym
・ Recursive ascent parser
・ Recursive Bayesian estimation
・ Recursive categorical syntax
・ Recursive competitive equilibrium
・ Recursive data type
・ Recursive definition
・ Recursive descent parser
・ Recursive economics
・ Recursive filter
・ Recursive function
Recursive grammar
・ Recursive indexing
・ Recursive InterNetwork Architecture (RINA)
・ Recursive join
・ Recursive language
・ Recursive least squares filter
・ Recursive neural network
・ Recursive ordinal
・ Recursive partitioning
・ Recursive recycling
・ Recursive science fiction
・ Recursive self-improvement
・ Recursive set
・ Recursive transition network
・ Recursive tree


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Recursive grammar : ウィキペディア英語版
Recursive grammar
In computer science, a grammar is informally called a recursive grammar if it contains production rules that are recursive, meaning that expanding a non-terminal according to these rules can eventually lead to a string that includes the same non-terminal again. Otherwise it is called a non-recursive grammar.〔.〕
For example, a grammar for a context-free language is (left-)recursive if there exists a non-terminal symbol ''A'' that can be put through the production rules to produce a string with ''A'' (as the leftmost symbol).〔( Notes on Formal Language Theory and Parsing ), James Power, Department of Computer Science National University of Ireland, Maynooth Maynooth, Co. Kildare, Ireland.〕〔.〕
All types of grammars in the Chomsky hierarchy can be recursive and it is recursion that allows the production of infinite sets of words.〔
==Properties==
A non-recursive grammar can produce only a finite language; and each finite language can be produced by a non-recursive grammar.〔
For example, a straight-line grammar produces just a single word.
A recursive context-free grammar that contains no useless rules necessarily produces an infinite language. This property forms the basis for an algorithm that can test efficiently whether a context-free grammar produces a finite or infinite language.〔.〕

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Recursive grammar」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.